<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript">
<!--
//图片bai按比例缩du放
var flag=false;
function DrawImage(ImgD){
var image=new Image();
var iwidth = 360; //定义允许图片宽度zhi
var iheight = 480; //定义允许图片高度
image.src=ImgD.src;
ImgD.width=iwidth;
ImgD.height=iheight;

if(image.width>0 && image.height>0){
  flag=true;
  if(image.width/image.height>= iwidth/iheight){
    if(image.width>iwidth){
      ImgD.width=iwidth;
      ImgD.height=(image.height*iwidth)/image.width;
    }else{
      ImgD.width=image.width;
      ImgD.height=image.height;
    }
    ImgD.alt=image.width+"×"+image.height;
}else{
  if(image.height>iheight){
    ImgD.height=iheight;
    ImgD.width=(image.width*iheight)/image.height;
  }else{
    ImgD.width=image.width;
    ImgD.height=image.height;
  }
  ImgD.alt=image.width+"×"+image.height;
  }
  }
}
//-->
</script>

<title>两个DIV并排</title>
<style>
.div-left{ float:left;width:49%;border-radius:10px 10px 10px 10px;border:2px solid #efefef;overflow:hidden;}
.div-right{ float:right;width:49%;border-radius:10px 10px 10px 10px;border:2px solid #efefef;overflow:hidden}
.p-title{
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size:32px;
  color:#282828;
  padding:0px 15px 0px 15px;
}
.p-price{
  font-size:32px;color:#db4019;padding:0px 0px 0px 15px;
}
</style>
</head>
<body bgcolor=#efefef>
<div class="div-left" style="background:#FFF;">
  <div style="text-align:center;">
    <a href="https://s.click.taobao.com/t?e=m%3D2%26s%3Dgz7v59%2BOjElw4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0M9JkSFeSJikf36Lv85hTTBQFeWends8q5WQwFCBANMOMdfWlO6K58Mpw9%2Bru02yjy5obB8ieLQMFBoMXOGuG5DkaqczTKGnOqmQwAuY9lhsOKGbSedQrkXlGWntvaEdlUx0inWuvg%2Fd&union_lens=lensId%3AOPT%401592472041%400b5c327e_ada0_172c6baf924_6946%4001">
      <img src="https://img.alicdn.com/i3/4291988227/O1CN01qzRgQ02Ae0upv5VVv_!!0-item_pic.jpg" onload = "DrawImage(this)">
    </a>
  </div>

  <p class="p-title">王羲之兰亭序行书字帖毛笔书法临摹本历代经典碑帖高清放大简体旁注怀仁集圣教序十七帖原贴王羲之行书字帖</p>
  <p class="p-price">20</p>
</div>
<div class="div-right" style="background:#FFF;">
  <div style="text-align:center;">
    <a href="https://s.click.taobao.com/t?e=m%3D2%26s%3Dh4PKJV7knC5w4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0M9JkSFeSJikf36Lv85hTTBQFeWends8q5WQwFCBANMOMdfWlO6K58Mpw9%2Bru02yjy5obB8ieLQMFBoMXOGuG5DkaqczTKGnOvynd2WQ0Qz%2B2eeriHrlhG6kjaiMP0QwDVEsGBpbm51r&union_lens=lensId%3AOPT%401592472041%400b5c327e_ada0_172c6baf930_695a%4001">
      <img src="https://img.alicdn.com/i3/2613028579/O1CN01qZ2axO2DFEQIu1RjF_!!0-item_pic.jpg" onload = "DrawImage(this)">
    </a>
  </div>
  <p class="p-title" >王羲之行书字帖兰亭序临摹圣教序字帖怀仁集王羲之圣教序合集行书集字古诗历代碑帖精粹王曦之的书法字帖王义之兰亭序</p>
  <p class="p-price"> 26.8</p>
</div>





</body>
</html>
